package com.zkt.recommend.infra.convert;

import com.zkt.recommend.infra.entity.SubjectLabelInfo;
import com.zkt.subject.entity.SubjectLabelDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/4
 * @description 题目标签的实体类型转换器
 **/

@Mapper
public interface SubjectLabelDTOConverter {
	
	SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);
	
	List<SubjectLabelInfo> convertDtoToInfoList(List<SubjectLabelDTO> subjectLabelDTOList);
}
